<?php /* Smarty version 2.6.26, created on 2012-06-28 09:19:37
         compiled from afcs_store_cal.html */ ?>
<?php echo '<?xml'; ?>
 version="1.0" encoding="utf-8"<?php echo '?>'; ?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="Content-Script-Type" content="text/javascript" />
		<meta http-equiv="Content-Style-Type" content="text/css" />
		<title>コントロールパネル</title>
		<link rel="stylesheet" href="./assets/styles/default.css" type="text/css" />
		<script src="assets/scripts/jquery-1.7.1.min.js" type="text/javascript"></script>
		<script src="assets/scripts/menu.js" type="text/javascript"></script>
		
		<script type="text/javascript">
		$(function() {
			$('.message').fadeIn("slow");
			$('.text_date').datepicker({
				changeMonth: true,
				changeYear: true,
				dateFormat: 'yy/mm/dd'
			});
			$('#btn-export').click(function(){	
				if(confirm('ダウンロードしますか？')){
					document.form1.csv.value="download";
					document.form1.submit();
					
				}
			});
			$('#btn-reset').click(function(){	
				location.href = document.form1.action;
			});
			
			$('#btn_search').click(function(){	
				document.form1.csv.value="";
				document.form1.submit();
			});
		});
		function toPage(thepage) {
			document.form1.page.value =  thepage;
			document.form1.csv.value="";
			document.form1.submit();
		}
		</script>
		
	</head>
	<body id="">
<?php echo $this->_tpl_vars['menu']; ?>

<?php echo $this->_tpl_vars['logout']; ?>

		<div id="container"><div class="wrapper">
			<h2>PDFダウンロードサイト　チラシ</h2>
			<ul class="submenu clearfix">
				<li><a href="afcs_store_cal.php">店舗明細</a></li>
				<li><a href="afcs_store_map.php">マップグルーピング検索</a></li>
				<li><a href="afcs_index.php">TOP画面へ</a></li>
			</ul>
			<h3>店舗明細</h3>


<?php unset($this->_sections['cnt']);
$this->_sections['cnt']['name'] = 'cnt';
$this->_sections['cnt']['loop'] = is_array($_loop=$this->_tpl_vars['hiduke']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['cnt']['show'] = true;
$this->_sections['cnt']['max'] = $this->_sections['cnt']['loop'];
$this->_sections['cnt']['step'] = 1;
$this->_sections['cnt']['start'] = $this->_sections['cnt']['step'] > 0 ? 0 : $this->_sections['cnt']['loop']-1;
if ($this->_sections['cnt']['show']) {
    $this->_sections['cnt']['total'] = $this->_sections['cnt']['loop'];
    if ($this->_sections['cnt']['total'] == 0)
        $this->_sections['cnt']['show'] = false;
} else
    $this->_sections['cnt']['total'] = 0;
if ($this->_sections['cnt']['show']):

            for ($this->_sections['cnt']['index'] = $this->_sections['cnt']['start'], $this->_sections['cnt']['iteration'] = 1;
                 $this->_sections['cnt']['iteration'] <= $this->_sections['cnt']['total'];
                 $this->_sections['cnt']['index'] += $this->_sections['cnt']['step'], $this->_sections['cnt']['iteration']++):
$this->_sections['cnt']['rownum'] = $this->_sections['cnt']['iteration'];
$this->_sections['cnt']['index_prev'] = $this->_sections['cnt']['index'] - $this->_sections['cnt']['step'];
$this->_sections['cnt']['index_next'] = $this->_sections['cnt']['index'] + $this->_sections['cnt']['step'];
$this->_sections['cnt']['first']      = ($this->_sections['cnt']['iteration'] == 1);
$this->_sections['cnt']['last']       = ($this->_sections['cnt']['iteration'] == $this->_sections['cnt']['total']);
?>
			<div  style="float:left;padding-right:20px;">
			<table border="1" cellpadding="10" width="200">
			<caption><?php echo $this->_tpl_vars['hiduke'][$this->_sections['cnt']['index']]; ?>
</caption>
			<tbody>
			<tr align="center" height="50">
				<td width="50"><a href="afcs_store_view.php">4月</a></td>
				<td width="50"><a href="#">5月</a></td>
				<td width="50"><a href="#">6月</a></td>
				<td width="50"><a href="#">7月</a></td>
			<tr>
			<tr align="center" height="50">
				<td><a href="#">8月</a></td>
				<td><a href="#">9月</a></td>
				<td><a href="#">10月</a></td>
				<td><a href="#">11月</a></td>
			<tr>
			<tr align="center" height="50">
				<td><a href="#">12月</a></td>
				<td><a href="#">1月</a></td>
				<td><a href="#">2月</a></td>
				<td><a href="#">3月</a></td>
			<tr>

			</tbody>
			</table>
			</div>

<?php endfor; endif; ?>

			<div style="clear:left;"> </div>

		</div></div>
		<?php echo $this->_tpl_vars['footer']; ?>

	</body>
</html>